/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Modulo4;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author Rafael
 */
public class consultarPersonalForm extends org.apache.struts.action.ActionForm {

    private String voe;
    private String ci;
    private String usbid;
    private String nombre1;
    private String nombre2;
    private String apellido1;
    private String apellido2;
    //private List<PersonalUSBID> personales;

    /*
    public List<PersonalUSBID> getPersonales() {
    return personales;
    }

    public void setPersonales(List<PersonalUSBID> personales) {
    this.personales = personales;
    }
     */
    
    public String getUsbid() {
        return usbid;
    }

    public void setUsbid(String usbid) {
        this.usbid = usbid;
    }

    public String getApellido1() {
        return apellido1;
    }

    public void setApellido1(String apellido1) {
        this.apellido1 = apellido1;
    }

    public String getApellido2() {
        return apellido2;
    }

    public void setApellido2(String apellido2) {
        this.apellido2 = apellido2;
    }

    public String getCi() {
        return ci;
    }

    public void setCi(String ci) {
        this.ci = ci;
    }

    public String getNombre1() {
        return nombre1;
    }

    public void setNombre1(String nombre1) {
        this.nombre1 = nombre1;
    }

    public String getNombre2() {
        return nombre2;
    }

    public void setNombre2(String nombre2) {
        this.nombre2 = nombre2;
    }

    public String getVoe() {
        return voe;
    }

    public void setVoe(String voe) {
        this.voe = voe;
    }

    /**
     *
     */
    public consultarPersonalForm() {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * This is the action called from the Struts framework.
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
    @Override
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();

        mapping.getInputForward();

        return errors;
    }
}
